!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[PopupCloseIconButton]",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[PopupCloseIconButton]"]=t(require("react")):e["rb_wixui.thunderbolt[PopupCloseIconButton]"]=t(e.React)}("undefined"!=typeof self?self:this,(function(e){return function(){var t={5329:function(t){"use strict";t.exports=e},448:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const o=[];return e&&o.push(`${a}${e}`),t.forEach((e=>{e&&(o.push(`${a}${e}`),o.push(e))})),o.join(" ")},c=13,l=27;function p(e){return t=>{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}const f=p(32),d=p(c),b=e=>{d(e),f(e)},x=(p(l),["aria-id","aria-metadata","aria-type"]),y=(e,t)=>Object.entries(e).reduce(((e,[o,n])=>(t.includes(o)||(e[o]=n),e)),{}),v=new RegExp("<%= compId %>","g"),m=(e,t)=>e.replace(v,t),g="popupCloseIconButtonRoot";var h={root:"lightbox__close-button"},_="CE75uz",j="BnL5i_";const C={PopupCloseIconButton:{component:e=>{const{id:n,className:r,customClassNames:u=[],svgContent:a,onMouseEnter:c,onMouseLeave:l,onClick:p,onDblClick:f,ariaAttributes:d,translations:{a11yLabel:v}}=e;return o.createElement("div",t()({id:n},(e=>Object.entries(e).reduce(((e,[t,o])=>(t.includes("data-")&&(e[t]=o),e)),{}))(e),{className:i(_,r,s(h.root,...u)),onKeyDown:b,"data-testid":g,onMouseEnter:c,onMouseLeave:l,onClick:p,onDoubleClick:f}),o.createElement("div",t()({tabIndex:0,role:"button",title:v,"aria-label":v},(({role:e,tabIndex:t,tabindex:o,...n}={})=>{const r=Object.entries(n).reduce(((e,[t,o])=>({...e,[`aria-${t}`.toLowerCase()]:o})),{role:e,tabIndex:t??o});return Object.keys(r).forEach((e=>{void 0!==r[e]&&null!==r[e]||delete r[e]})),y(r,x)})(d),{className:j,dangerouslySetInnerHTML:{__html:a&&m(a,n)}})))}}}}(),r}()})); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt[PopupCloseIconButton].c76bbb89.bundle.min.js.map